package com.ws.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.ws.bean.Vehicle;
import com.ws.bean.VehicoleBrand;
import com.ws.util.Page;

@Mapper
public interface VehicleBrandDao {

	List<VehicoleBrand> getBrands(@Param("brand")  VehicoleBrand brand,@Param("page") Page page);

	int getCount(@Param("brand") VehicoleBrand brand);

	int addBrand(VehicoleBrand brand);

	int editBrand(VehicoleBrand brand);

	int delBrand(Integer id);

	List<Vehicle> getVehicles(Integer id);

}
